import React from "react"

import {withRouter} from 'react-router-dom'



class Breadcrumb extends React.Component {
    path=() => {
        return  this.props.history.location.pathname
    }
    render() {
        return (
            <span>
                {this.path()}
            </span>
        );
    }
} 
export default withRouter(Breadcrumb)

